package com.qijian.maindata.domain.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.qijian.maindata.domain.LineProcess;
import com.qijian.maindata.domain.LineProcessWork;
import com.qijian.tool.domain.Storage;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.List;

/**
 * 工艺对象
 *
 * @author qijian
 * @date 2021-09-03
 */

@EqualsAndHashCode(callSuper = true)
@Data
@ToString
public class LineProcessBomVo extends LineProcess {
    private String itemCode;
    private String itemName;
    private String itemAttr;
    private String drawingNo;
    private String partNo;
    private BigDecimal itemWeight;
    private Integer count;
    private Integer total;
    private String workCode;

    // 排版单价格
    private String totalPbPrice;

    private List<LineProcessBomVo> child;

    private List<LineProcessWork> lineProcessWorks;

    private String checkType;

    private int changeSize;


    //工艺线路文件列表
    private List<Storage> processLineFiles;

    @JsonSerialize(using= ToStringSerializer.class)
    private Long bomDetailId;

    //厚度
    private String thickness;
}
